﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class TW_Value_DiscountG_Gridview : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("TW_Value_DiscountG_Gridview", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("TW_Value_DiscountG_Gridview", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("TW_Value_DiscountG_Gridview", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("TW_Value_DiscountG_Gridview", "UserName");
        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } } private int _No; public static FieldInfo no = new FieldInfo("TW_Value_DiscountG_Gridview", "No");
        [Column]
        public string G_Customer { get { return _G_Customer; } set { _G_Customer = value; EntityState.FieldChange("G_Customer"); } } private string _G_Customer; public static FieldInfo g_Customer = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Customer");
        [Column]
        public string G_SOCustomer { get { return _G_SOCustomer; } set { _G_SOCustomer = value; EntityState.FieldChange("G_SOCustomer"); } } private string _G_SOCustomer; public static FieldInfo g_SOCustomer = new FieldInfo("TW_Value_DiscountG_Gridview", "G_SOCustomer");
        [Column]
        public string G_Cust_Group { get { return _G_Cust_Group; } set { _G_Cust_Group = value; EntityState.FieldChange("G_Cust_Group"); } } private string _G_Cust_Group; public static FieldInfo g_Cust_Group = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Cust_Group");
        [Column]
        public string G_Sales_Off { get { return _G_Sales_Off; } set { _G_Sales_Off = value; EntityState.FieldChange("G_Sales_Off"); } } private string _G_Sales_Off; public static FieldInfo g_Sales_Off = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Sales_Off");
        [Column]
        public string G_Matl { get { return _G_Matl; } set { _G_Matl = value; EntityState.FieldChange("G_Matl"); } } private string _G_Matl; public static FieldInfo g_Matl = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Matl");
        [Column]
        public string G_Status { get { return _G_Status; } set { _G_Status = value; EntityState.FieldChange("G_Status"); } } private string _G_Status; public static FieldInfo g_Status = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Status");
        [Column]
        public string G_Description { get { return _G_Description; } set { _G_Description = value; EntityState.FieldChange("G_Description"); } } private string _G_Description; public static FieldInfo g_Description = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Description");
        [Column]
        public string G_Proc { get { return _G_Proc; } set { _G_Proc = value; EntityState.FieldChange("G_Proc"); } } private string _G_Proc; public static FieldInfo g_Proc = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Proc");
        [Column]
        public string G_Scale_quantity { get { return _G_Scale_quantity; } set { _G_Scale_quantity = value; EntityState.FieldChange("G_Scale_quantity"); } } private string _G_Scale_quantity; public static FieldInfo g_Scale_quantity = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Scale_quantity");
        [Column]
        public string G_Amount { get { return _G_Amount; } set { _G_Amount = value; EntityState.FieldChange("G_Amount"); } } private string _G_Amount; public static FieldInfo g_Amount = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Amount");
        [Column]
        public string G_Unit { get { return _G_Unit; } set { _G_Unit = value; EntityState.FieldChange("G_Unit"); } } private string _G_Unit; public static FieldInfo g_Unit = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Unit");
        [Column]
        public string G_Per { get { return _G_Per; } set { _G_Per = value; EntityState.FieldChange("G_Per"); } } private string _G_Per; public static FieldInfo g_Per = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Per");
        [Column]
        public string G_Uom { get { return _G_Uom; } set { _G_Uom = value; EntityState.FieldChange("G_Uom"); } } private string _G_Uom; public static FieldInfo g_Uom = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Uom");
        [Column]
        public string G_Calculat_Type { get { return _G_Calculat_Type; } set { _G_Calculat_Type = value; EntityState.FieldChange("G_Calculat_Type"); } } private string _G_Calculat_Type; public static FieldInfo g_Calculat_Type = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Calculat_Type");
        [Column]
        public string G_ScaleBasis { get { return _G_ScaleBasis; } set { _G_ScaleBasis = value; EntityState.FieldChange("G_ScaleBasis"); } } private string _G_ScaleBasis; public static FieldInfo g_ScaleBasis = new FieldInfo("TW_Value_DiscountG_Gridview", "G_ScaleBasis");
        [Column]
        public string G_Valid_From { get { return _G_Valid_From; } set { _G_Valid_From = value; EntityState.FieldChange("G_Valid_From"); } } private string _G_Valid_From; public static FieldInfo g_Valid_From = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Valid_From");
        [Column]
        public string G_Valid_To { get { return _G_Valid_To; } set { _G_Valid_To = value; EntityState.FieldChange("G_Valid_To"); } } private string _G_Valid_To; public static FieldInfo g_Valid_To = new FieldInfo("TW_Value_DiscountG_Gridview", "G_Valid_To");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("TW_Value_DiscountG_Gridview", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("TW_Value_DiscountG_Gridview", "Status");

    }
}
